package com.ravi;

import com.ravi.dao.CheckItemDAO;
import com.ravi.entity.CheckItem;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class CheckItemTEST {

	@Autowired
	private CheckItemDAO checkItemDAO;

	@Test
	public void selectOneTest() {
		Integer itemId = 18;
		CheckItem item = checkItemDAO.selectItemById(itemId);
		System.out.println(item.getItemName() + item.getItemDescription());
	}


}
